package com.groupbuying.payconsumer.service;

import com.groupbuying.payconsumer.domain.PayOrderRelDO;

import java.util.List;
import java.util.Map;

/**
 * 订单和支付单关联关系
 * 
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-05-10 02:33:01
 * @des
 */

public interface PayOrderRelService {

	PayOrderRelDO get(String id);

	List<PayOrderRelDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(PayOrderRelDO payOrderRel);

	int update(PayOrderRelDO payOrderRel);

	int remove(String id);

	int batchRemove(String[] ids);

	PayOrderRelDO getRelBuyPayId(String id);
	PayOrderRelDO getByOutTradeNo(String outTradeNo);
}
